﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: TrademarkEntity.cs
// 修改时间：2020-9-8 10:40:12
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：Trademark 的实体类.
	/// </summary>
	[Table("Trademark")]
	public partial class TrademarkEntity
	{
		#region Properties
		private int? _trademarkID = 0;
		/// <summary>
		/// 商标ID(主键)(自增长)
		/// </summary>
		[Column("TrademarkID",TypeName="int")]
		[Key]
		[MyFlag("Identity")]
		public int? TrademarkID
		{
			get {return _trademarkID;}
			set {_trademarkID = value;}
		}
		
		private int? _trademarkType = 0;
		/// <summary>
		/// 商标分类
		/// </summary>
		[Column("TrademarkType",TypeName="int")]
		public int? TrademarkType
		{
			get {return _trademarkType;}
			set {_trademarkType = value;}
		}
		
		private int? _producerID = 0;
		/// <summary>
		/// 商标持有人
		/// </summary>
		[Column("ProducerID",TypeName="int")]
		public int? ProducerID
		{
			get {return _producerID;}
			set {_producerID = value;}
		}
		
		private System.String _trademarkName = string.Empty;
		/// <summary>
		/// 品牌或商标
		/// </summary>
		[Column("TrademarkName",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String TrademarkName
		{
			get {return _trademarkName;}
			set {_trademarkName = value;}
		}
		
		private System.String _trademarkPhoto = string.Empty;
		/// <summary>
		/// 品牌LOGO
		/// </summary>
		[Column("TrademarkPhoto",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String TrademarkPhoto
		{
			get {return _trademarkPhoto;}
			set {_trademarkPhoto = value;}
		}
		
		private System.String _trademarkMorePic = string.Empty;
		/// <summary>
		/// 品牌多图
		/// </summary>
		[Column("TrademarkMorePic",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String TrademarkMorePic
		{
			get {return _trademarkMorePic;}
			set {_trademarkMorePic = value;}
		}
		
		private System.String _trademarkIntro = string.Empty;
		/// <summary>
		/// 商标简介
		/// </summary>
		[Column("TrademarkIntro",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String TrademarkIntro
		{
			get {return _trademarkIntro;}
			set {_trademarkIntro = value;}
		}
		
		private System.String _trademarkIntro1 = string.Empty;
		/// <summary>
		/// 
		/// </summary>
		[Column("TrademarkIntro1",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String TrademarkIntro1
		{
			get {return _trademarkIntro1;}
			set {_trademarkIntro1 = value;}
		}
		
		private System.String _trademarkIntro2 = string.Empty;
		/// <summary>
		/// 
		/// </summary>
		[Column("TrademarkIntro2",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String TrademarkIntro2
		{
			get {return _trademarkIntro2;}
			set {_trademarkIntro2 = value;}
		}
		
		private System.String _trademarkIntro3 = string.Empty;
		/// <summary>
		/// 
		/// </summary>
		[Column("TrademarkIntro3",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String TrademarkIntro3
		{
			get {return _trademarkIntro3;}
			set {_trademarkIntro3 = value;}
		}
		
		private System.String _trademarkIntro4 = string.Empty;
		/// <summary>
		/// 
		/// </summary>
		[Column("TrademarkIntro4",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String TrademarkIntro4
		{
			get {return _trademarkIntro4;}
			set {_trademarkIntro4 = value;}
		}
		
		private System.Boolean _isPassed = false;
		/// <summary>
		/// 是否通过
		/// </summary>
		[Column("IsPassed",TypeName="bit")]
		public System.Boolean IsPassed
		{
			get {return _isPassed;}
			set {_isPassed = value;}
		}
		
		private System.Boolean _isTop = false;
		/// <summary>
		/// 是否固顶
		/// </summary>
		[Column("IsTop",TypeName="bit")]
		public System.Boolean IsTop
		{
			get {return _isTop;}
			set {_isTop = value;}
		}
		
		private System.Boolean _isElite = false;
		/// <summary>
		/// 是否推荐
		/// </summary>
		[Column("IsElite",TypeName="bit")]
		public System.Boolean IsElite
		{
			get {return _isElite;}
			set {_isElite = value;}
		}
		
		private int? _hits = 0;
		/// <summary>
		/// 点击数
		/// </summary>
		[Column("Hits",TypeName="int")]
		public int? Hits
		{
			get {return _hits;}
			set {_hits = value;}
		}
		
		#endregion
	}
}
